//
//  CustomDefine.h
//  BeautifulNote
//
//  Created by Apple on 2019/7/16.
//  Copyright © 2019 Maker. All rights reserved.
//

#ifndef CustomDefine_h
#define CustomDefine_h

#define ScreenWidth [UIScreen mainScreen].bounds.size.width
#define ScreenHeight [UIScreen mainScreen].bounds.size.height

/** 顶部电源栏高度 */
#define StatusBarHeight (ScreenHeight >= 812.0 ? 44 : 20)
/** 底部安全距离高度[适配PhoneX底部] */
#define SafeAreaBottomHeight (ScreenHeight >= 812.0 ? 34 : 0)
/** 顶部安全距离高度[适配PhoneX底部] */
#define SafeAreaTopHeight (ScreenHeight >= 812.0 ? 24 : 0)

#define lightFont(r) [UIFont fontWithName:@"PingFangSC-Light" size:r]
#define mediumFont(r) [UIFont fontWithName:@"PingFangSC-Medium" size:r]


#define bnColor(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0f]

#define mainColor bnColor(246, 246, 246)

#define redMood bnColor(253, 153, 178)
#define orangeMood bnColor(246, 186, 77)
#define yellowMood [UIColor yellowColor]
#define greenMood [UIColor greenColor]
#define qingseMood bnColor(170, 220, 232)
#define blueMood [UIColor blueColor]
#define purpleMood [UIColor purpleColor]
#define whiteMood [UIColor whiteColor]
#define grayMood [UIColor grayColor]
#define blackMood bnColor(16, 58, 56)


#define kPopolookAppleId @"1474322434"

#endif /* CustomDefine_h */
